
/**
 * First we will load all of this project's JavaScript dependencies which
 * includes Vue and other libraries. It is a great starting point when
 * building robust, powerful web applications using Vue and Laravel.
 */

// require('./bootstrap');
//
// window.Vue = require('vue');
//
// /**
//  * Next, we will create a fresh Vue application instance and attach it to
//  * the page. Then, you may begin adding components to this application
//  * or customize the JavaScript scaffolding to fit your unique needs.
//  */
//
// Vue.component('example', require('./components/Example.vue'));
// Vue.component( 'home-index', require('./components/home/index.vue'))
//
// const app = new Vue({
//     el: '#app'
// });

import Vue from 'vue'

import 'normalize.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
Vue.use( ElementUI)

import '../sass/basic.scss'

// import HomeIndex from './components/home'
// import HomeHello from './components/home/hello'
// import Example from './components/example'
Vue.component( 'v-header', () => import( './components/layouts/header'));
Vue.component( 'v-footer', () => import( './components/layouts/footer'));
Vue.component( 'v-sidebar', () => import( './components/layouts/sidebar'));

const HomeIndex = () => import('./components/home')
const HomeHello = () => import('./components/home/hello')

Vue.component( 'home-index', HomeIndex)
Vue.component( 'home-hello', HomeHello)
// Vue.component( 'example', Example)

new Vue({
    el: '#app'
})